<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>仿小米列表商品展示</title>
  </head>
  <style>
    body, p, h3 {
      margin: 0;
    }
    a {
      text-decoration: none;
      display: block;
      /* border: 1px solid red; */
    }
    .product {
      width: 268px;
      /* height: 500px; */
      margin: 50px auto 0;
      border: 1px solid #ddd;
      text-align: center;
    }
    .describe {
      color: #845f3f;
      font-size: 16px;
    }
    .product-text {
      margin-top: 20px;
      padding: 15px;
      background-color: #f8f8f8;
    }
    .product-mask {
      height: 24px;
    }
    .sales {
      color: #ff6700;
      background: #fff;
      font-size: 12px;
      padding: 2px 4px;
      border: 1px solid #ff6700;
      border-radius: 5px;
    }
    .guarantee {
      color: #00AEEC;
      background: #fff;
      font-size: 12px;
      padding: 2px 4px;
      border: 1px solid #00AEEC;
      border-radius: 5px;
    }
    .product-text h3 {
      color: black;
      font-size: 18px;
      margin-top: 15px;
      font-weight: 400;
    }
    .product-text p {
      font-size: 18px;
      color: #ff6700;
      margin-top: 5px;
    }
  </style>
  <body>
    <div class="product">
      <a href="http://mi.com" target="_blank" rel="noopener noreferrer">
        <img src="https://cdn.cnbj0.fds.api.mi-img.com/b2c-shopapi-pms/pms_1634009052.46125463.jpg" alt="" width="195px">
        <p class="describe">快速煮水，安心使用</p>
        <div class="product-text">
          <div class="product-mask">
            <span class="sales">特惠</span>
            <span class="guarantee">30天保价</span>
            <span class="guarantee">售后免邮</span>
          </div>
          <h3>云米电水壶</h3>
          <p>59元</p>
        </div>
      </a>
    </div>
  </body>
</html>
